package com.lanca.feignclient;

import org.springframework.context.annotation.Configuration;

@Configuration
public class HystrixClientFallBack implements HystrixClient {

    @Override
    public String demo(Integer id) {

        return "HYSTRIX服务暂不可用，可能存在宕机，启用OPENFEIGNHYSTRIX本服务的熔断处理，接受参数id= " + id;
    }
}
